package routes

import (
	"blog/internal/bootstrap"
	"github.com/gin-gonic/gin"
)

func RegisterRoutes(ctx *bootstrap.Context, engine *gin.Engine) {

	// 后台路由
	UseAdminRoutes(ctx, engine.Group("/api"))
	// 前台路由
	UseWebRoutes(ctx, engine.Group("/"))
}
